<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>数组</title>
</head>
<body>
	
	<script>
		let arr={'0':4,'1':5,'2':6,length:3}
		console.log(Array.from(arr))
		let arr1=[1,2,3];
		arr1.forEach(ele=>{
			console.log(ele)
		});
		console.log(Array.of(10))
		console.log([1,2,3].fill(4));
		console.log([4,5,6].fill(7,2,3))
	</script>

</body>
</html>